Workaround to correct generate sprites