fix mouseMove and openClass