Fixed display bug with inline