solves visibility issue in vanilla mode