Fixed sneaking and sprinting handling in PlayerActionHandler (fixes #165).