Fixed cursor bug.
Fixed cursor bug.
fixed update bugs.