Fixed bug in PageTransformer