Avoid overlap of scale line and mouse position with Google images