I tried fixing it but this is as far as I can go (2nd download), the frame will most likely still be at the upper top left corner but the resizing should be better than last time. if there are more problems please leave a screenshot.