Added a slight offset to the legend so it isn't covered up by the cursor.