LightDM resets brightness to maximum

When I restart my laptop, lightDM resets brightness to maximum and forbids me to use brightness keyboard shortcuts to minimize brightness value. But when I log in it’s fixed and set to the previously value of brightness before restarting and the keyboard shortcuts work perfectly.
I use Ubuntu Mate 16.04.2 - 32bits with MATE Desktop 1.16.1.