lua : add a way to easily know if a lib is displayed on the screeen