Settings said 20 Mpx but it was still only 16 Mpx. Switched to 4:3 (13 Mpx), took a picture and then switched back to 20 Mpx. Now the pictures are indeed 5984x3392.