Only pull off two pixels if the taskbar is actually set to auto-hide

This fixes #567
Fixed NET45 project
Merge pull request #573 from MahApps/taskbar-auto-hide-fix

Only pull off two pixels from the window if the taskbar is actually set to auto-hide