Don't display when near edge

Elm doesn't update the mouse when it's beyond the canvas, so this is the best
you can do.