Correct sprite importing code