Fixed some issues

With the dock defaulting at 0 height.