Expressions evaluate on every value or time change in the scene. What could be happening is that it's hanging when you move the plane.
Did you apply the expression, then move the plane; or apply it to an already modified plane? Doing the latter should work.
Imagination is more important than knowledge.