Prevent negative coordinates in canvas with Math.round, fixes crash in FF
0.2.1