Symphony 2.3 compatibility
Different method for calculating position of mouse action, for compatibility with recent versions of webkit (no more layerX support)