for example if I implement _form_alter hook to modify size of fields in the form, compact forms stop working.
And the only one thing I did in my module was this:

if ($form_id == 'user_register') {
$form['pass']['#size'] = 60;
}

what should be done to avoid conflict with compact forms in such cases?