Fixes issues with rendering plane.