Print does not work properly with page breaks