Ensured that form dimension are proper (otherwise the hover frame is misplaced)