Fix result position if drawing outside the surface area
Fix event bug

Move events got fired outside of the drawing surface and
resulted in weird drawing behaviour.