Fixed image mapping bug.