Fixed window size bug and stopped window resizing.