Fix rendering bugs on xsmall screens