Adjust grid in corners