Changed canvas size; corrected 'devicemotion' event problem