Manually entering spreads

Trying to sell a call spread but when i enter the second leg(manually) it thinks i should need to use more margin buying power, when it should be less(entered sell leg first).

To clarify I believe the margin required is bugged.