I have no clue here.. but just thought something to add....

have you tried litterboxes made for rabbits/ferrets.... they are built for corner and have a higher back side... that might work too....( to prevent spraying the wall while using the box)