fixed a mouse issue at first attempts