On the UNO the SPI connections on the ICSP connector are ALSO on Pins 11, 12, and 13. On the Mega they connect to 50, 51, and 52 which is why the ICSP header is used.
Botom line: You can't use 11, 12, or 13 for other things while using the ICSP SPI pins.