Ok once this is merged, you will be able to reapply your css modification. Thanks for providing it btw.
https://github.com/discourse/discourse/pull/6776
For the lore: a subpixel difference was making the body of category-chooser swinging from top to bottom positioning indefinitely. This was only possible with your css modification making the composer height different. I also took the opportunity to apply some debouncing on the computation of the position.