Fix stylus middleware.