Yes I get this sometimes. To fix it, right click on the window when it's minimised in the taskbar once, then left click the window again to bring it up whilst the right click menu is still visible. The minimising should be fixed now. Also if you do this when the problem isn't happening, it'll break the minimising and you'll have to do it twice to get it back to normal.