Got save sprite position function working