I would get her to the vet first to rule out problems, if it persists and you cant block off her access to the bathroom..try putting the litterbox IN the bathtub for a week..slowly move it out of the bathroom and back to its original spot..that should work!!
Dawn