Fixed the issue w\ maximizing and rs going to the corner.