Validate dimension during player login. Fixes #958