make joystick.js independent on canvas size
make joystick.js independent of canvas size