Annoying bug on OSX