fix to view layer

Signed-off-by: Adrian Stainforth <adrians@spinnakerdirect.co.uk>