Fixes regression with page grid