Fix for determining winner by moves