Dock Icon won't disappear after quitting application
A few gaming application icons refuse to disappear from the dock after I quit an application, so far only games seem to cause the problem.
Force quit does nothing, and the applications still appears in the "force quit application" window however they do not appear in the activity monitor.
After the launching and quitting the application, and once the icon is 'stuck' in the dock, the application often does not load when I try to open it. It also does not crash, it just does nothing when I double click it.
Nothing happens when I click the icon in the dock once it has gotten 'stuck' there.
I have tried typing "killall Dock" into terminal to reset the dock but that doesn't change the problem.
A reset of the computer does make the icons disappear but once I open the application again they get stuck again.
Like I said it only seems to happen with game applications and not all applications, but it happens with several different games, although not all games.
I want to know why the icons are getting stuck, and why it sometimes causes the application to refuse to launch after it has gotten stuck.
Appreciate any help!
MacBook Pro (13-inch Mid 2012), OS X El Capitan (10.11.6)