fix weird mobile rendering