Removing border glitch