Is this height difference ok?

Can I install this even though it's not flush?