Cross Browser Fix: Position capture firefox fix