FIX: remove blit, fix 0-length error on grayscale images