NXP-8253: fix hide/show annotations behaviour