fixed some rendering issues with print view