correct stage size changing with FastLayer. fix #887