Fix DrawingPad sample on Firefox

* drawingPad.js: Added parseInt to force Firefox X & Y values into integers.