Litter box issues with my cat

My cat has a litter box similar to this one. She always pees in the back of the box and it always leaks out and into the bath tub, that holds the litter box. I don't know if she is not squatting to pee? With the overhang of the lid, it just escapes. It has been so frustrating for me to have to clean up so often. Can anyone else relate? I might have to look into a different type of box. Any suggestions?