more updates to properly support stylus and nib