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.
Merge pull request #2235 from Dogild/CPTextFieldResetCursor

Fixed: cursor of CPTextField is not updated to default