Fix bug in RFTextField