Right click menu on Elementary dock doesn't show up when a app is running.
Fixes #335.