Fixes #23 Changed event.x to event.clientX