Fixed: cursor of CPTextField is not updated to default

Previously, when changing the mode of the CPTextField from editable to non-editable, the cursor wasn't set to default. Now it does.