Fix Mac OS X Dock issue