mouse state fixed