Fix invisible pages taking up space