Form window won't keep size

I have a form that has the Window size in graphics mode set with both minimum and maximim at 380x494 px. After closing the database and reopen the size of the form changes to 378x492. I have to go into graphics mode and back to get the size to display 380x494.