Optimized FlxOverlap

Made it a little faster by using static variables instead of temporary
ones.