Fixed bug that layer would not disapear

Fixed bug that layer would not disapear if mouse moving too fast.