compositor: fix prepare_frame obscuring check