added transparancy to resources
fixed off-by-one error which propagated from tiled to our system