Notice-Updated div moving around unprompted

Searching for .notice on WP source code I found the culprit at wp-admin/js/common.js:

$( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $headerEnd );

Adding an inline class to my code solves the issue:

<div class="notice updated inline">Form sent</div>