Fixing the off-center images issue