further optimizations for onScreen() + better memory management for FlxTrail

Thanks @sergey-miryanov for big help