You may find useful to check answers to a couple of somewhat related questions ─ also about spin-coating PMMA: https://www.researchgate.net/post/With_PMMA_which_solvent_to_use https://www.researchgate.net/post/Could_someone_tell_me_approximately_what_are_the_right_concentration_and_speed_to_fabricate_PMMA_film_ranging_form_1_to_5_microns_by_spin-coating
the reason could be the high polymerization shrinkage between monomeric and polymeric PMMA. An other reason will be the different polarity of the glass surface and the PMMA. Untreated glass surface is less polar than PMMA ., The rough rule is that polar solves polar and unpolar sticks better to unpolar substances. The conclusion is you should use a polysiloxanian adhesion agent between the both materials. If this will overcome the shrinkage problematic you have to try.
Normaly is easy to obatin free film of PMMA. So you should treat you glass before, and you spin coat thicker film (if the thickness does not influence your parameters that you want obtain)