Fixed debug GUI not working for subclasses of TileMechanical