Reset active keys on window focus

There's no way to keep accurate track of what keys are pressed while the window is not focused
Build