Modified the way to handle display related parameters
Fixed coordinates error on non-SP browser