Tweaked to allow for offset sprites having trails.