Attach mouse events to board container instead of document