[ticket/13169] Fix RTL forms in responsive mode

https://tracker.phpbb.com/browse/PHPBB3-13169