Fixed Resizing Issue

Now fixed resizing!