Navigation bar zPosition

When I run my app on simulator 6s iOS 14.0 my mouse sprite goes underneath the Navigation Bar so its hidden but on iOS 15.5 in shows it in view. (mouse tail shows as it turns round)

Anyone any ideas on how to fix this?

https://www.icloud.com/iclouddrive/04a5OENJKCav54go_27q2PqXg#Simulator_Screen_Recording_-_iPhone_6s_14.0_-_2022-12-13_at_09.45

https://www.icloud.com/iclouddrive/033l20eJCoWeOHp56576nFb0Q#Simulator_Screen_Recording_-_iPhone_6s_15.5_-_2022-12-13_at_09.47