[ticket/13239] Ensure "Add files" button position is correctly calculated.

[PHPBB3-13239](https://tracker.phpbb.com/browse/PHPBB3-13239)