Fixes bug where game would crash when picking nil piece