Fixed #590 for the height not being set correctly.