Added conversion of screen coords to board coords