It's a feature called Snap that you can turn off. Right-click on your desktop, go to Display Settings > Multitasking > Snap. Slide that bad puppy to OFF.