bugfix for img center