Improvements to the sliding plane.

Improvements on how it copes with render size and position.