Made firing/moving cooldowns time-based, also fixed yet another focus-related bug when run in Linux