Refactor sprites