fix bug with setBounds #65