Only make space for the virtual keyboard when it's visible.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2058468