Reverted sprite img dir var as caused problems