Fdroko
from the developer settings you can deactivate the optimization of miui and that restriction disappears

This is not a proper solution.