That said: Placing assist popup to top instead of bottom is intended behaviour (when the regular size does not fit bottom). However, going out of screen was a bug.
Maybe above logic is not right. I am ok finetuning this (e.g. always popup bottom, just reduce the size) - but undecided what is best here.