fix timeline float behavior

When we clear both, the float of the project menu is also factored in.
Merge pull request #2088 from opf/backport/fix_timeline_float