An iOS textfield which places the cursor where it should be relative to the chosen text alignment