Fix NPE when photo frame has not a valid texture info

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>