When using the /replaceitem entity @s slot.weapon.offhand 0 (any block) command the block doesn't render in your offhand but instead renders in the right screen floating. This also makes some items render weirdly like ender chests being 2d and tridents invisible.
Please do not duplicate your reports (MCPE-194124).