Fixed player swimstate crash.

The check for swimming / submersion checks the Y coord first. Fixes #63.