Fixed a bug with masks larger than 32 bits displaying properly