Fixed getting the position of mouse click