Disable some annoying OSX behaviour