Improve the cursor behavior in VClass