Problem: you're trying to draw a rectangle using Photoshop's Rectangle tool. But you always end up with rounded corners.
Solution: watch this video :)