Fixed a bug where the kings updated position was not being checked .