There was an error in the positioning logic.
Created attachment 138110 [details] Patch
Committed r114758: <http://trac.webkit.org/changeset/114758>