Resize problem fixed