Make the delete button alignment work cross-platform / Bug fix for WS-67

This now works the same in Linux and Windows, whereas in Linux the delete button was not displayed after doing a recording.