Get rid of annoying 'click in dock' bug