Prevent button selection, better board bounds checking.