Fixed image bugs