fix bug introduced in BooleanProperty, prototype chaining must be done before prototype assignment