better mouse controls, fixed grid coordinates