Fix Rendering when Resize