Fixed bug where sprites stick together, and added comments