image almost resizing correctly