query.is_on_screen in behaviour packs is not currently working this makes transitions not possible when players are looking at the entity.