Fix issue #57: Safari bug with wave position.