Fixed a bug for the Queen move