fixes #4323 Image resize Not setting Width properly