Added a range check to TConstructBlock.getIcon