Fixed image displaying incorrectly