[FIX] bad access to pixel map