Temporary solution for building rendering order