The influence of domains on the structural phase transition of RbCaF3