Trigger mouse events when cursor is "almost" over a layer