This doesn't always happen, so may be hard to reproduce.Clearly, the window must not be maximized, and it seems like LyX should be started with "restore window layout and geometries" set.
A small problem, but it looks like LyX is doing some unnecessary work here. Helge Hafting