Adding support to surfaces that move their z value