Image width was set to 100% that made smaller images go bizarre, changed that to max-width to solve the issue