Fixed Resize Bug