Fixed firefox ending position.