To reproduce
Verified on 5.4.9 and this does not happen.
Same issue occurs on the contact page when trying to send a message