fix timeline float behavior

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