Fix some deprecations in HexEditCanvas