Only do 3D transform for lines when applicable

Summary: We were missing a check for `InteractiveUtil.getCanUse3dTransform()` when transforming
lines. I assume we'd have fixed it already if it were a big deal, but I added it anyone just in
case / for consistency.

Auditors: aria, emily