getModifierState should always return a boolean

Standard says it returns a boolean and this is a simple enough fix.
It is done :)