Fixed the top and left resize so that the height and width don't change anymore.