bugfix: input validation

-moveTo only when posX and posY is number
-rotateTo only when degree is number
bugfix getRegistry

getEditableRegistry instead of getRegistry