Clear the note cache when the note layer is turned off