Fixing the weird image problem