fixed issue with viewport content