fixed height/maxHeight callback could return null