Because you need the playfield to be 512, so you need to double the horizontal resolution also, otherwise you'll get exceptions.