Fixed moving zid when mouse is close