Dynamic Crosshair After Pause

Hey! So I made this dynamic crosshair in event tick and it works just fine, but when I pause the game and then continue to play the dynamic crosshair stops working. The crosshair is still showing tho. Anyone knows the solution? Thanks