[lipstick] Guard against using a null surface
Merge pull request #189 from giucam/crash

[lipstick] Guard against using a null surface