[5.0] Add right shift handling for text controller