Fixing grid issue when used with other frameworks