Added interface for hiding the cursor