Cast return type of GetCurrentBox from byte to int