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

PHPBB3-13239
Merge pull request #3139 from prototech/ticket/13239

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