Fixes #287

Fixes the missing sprite reference that was causing issue #287