[[ RefactorGraphics ]] fix bitmap -> indexed conversion crash