The difference between the first and second maximize is that the height of the maximized editor is not the same. My guess is that in some case the sticky buttons are taken into account and not others.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.