Only create a frame state if the map has non-zero size
Merge pull request #1498 from tschaub/null-frame-state

Only create a frame state if the map has non-zero size.