Print error on missing sprite. Fix #485.