Resize fixes