Position test element so it is actually fixed to viewport

Fixes #17626