Helper method to stop bishop from jumping pieces