Fix for weird rectangle