fixed memory leaks, added sprite offset to position around collider