Fix form border glitch