Twips-conversion fixes in Transform and MouseEvent

Fixes #681
Silence spammy Closure Compiler warnings
Merge pull request #683 from tschneidereit/master

Twips-conversion fixes in Transform and MouseEvent