If you have several transparent entities, the origin distance will determine which will be rendered first. Your image looks as if the origin of the blue object is closer to the camera.
See Manual -> entities -> transparency. There are several solutions to that problem.